package com.bourne.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class IpListRequest {

    /**
     * ip地址 多个可用“，”分割
     */
    @NotBlank(message = "ip地址不能为空")
    private String ipAddress;

    /**
     * 有效性 0黑名单 1白名单
     */
    private Integer status;
}
